from django.conf.urls import url
from . import views
from django.views.generic import RedirectView

app_name = 'audit'
urlpatterns = [
    url(r'^index/audit/myaudit/$', views.myaudit, name='myaudit'),
    url(r'^index/audit/audit-history/$', views.ahistory, name='ahistory'),
    url(r'^index/audit/manageconf/$', views.manageconf, name='manageconf'),

    url(r'lib/PrintArea.js$', RedirectView.as_view(url='/static/lib/PrintArea.js')),
    url(r'lib/jqprint.js$', RedirectView.as_view(url='/static/lib/jqprint.js')),
    url(r'lib/migrate.js$', RedirectView.as_view(url='/static/lib/migrate.js')),
    url(r'^audit-add/$', views.auditadd, name='auditadd'),
    url(r'^audit-add-pro/$', views.auditaddpro, name='auditaddpro'),
    url(r'^audit-obtain/$', views.auditobtain, name='auditobtain'),
    url(r'^audit-through/$', views.auditthrough, name='auditthrough'),
    url(r'^audit-build/$', views.auditbuild, name='auditbuild'),

    url(r'^audit-date/$', views.auditdate, name='auditdate'),
    url(r'^audit-manage-add/$', views.amanageadd, name='amanageadd'),
    url(r'^audit-ops', views.auditops, name='auditops'),
]